package com.company.oa.hr.mapper.training;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.company.oa.hr.entity.training.Course;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface CourseMapper extends BaseMapper<Course> {
    
    /**
     * 分页查询课程列表（包含培训计划信息）
     */
    IPage<Map<String, Object>> selectCoursePageWithPlan(Page<Course> page, @Param("course") Course course);
} 